package com.ruoyi.ybUpload.domain.tableCode;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 请求记录对象 business_records
 *
 * @author ruoyi
 * @date 2024-08-22
 */
public class BusinessRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 业务类型 */
    @Excel(name = "业务类型")
    private String business_type;

    /** 物品类型 */
    @Excel(name = "物品类型")
    private String goods_type;

    /** 物品名称 */
    @Excel(name = "物品名称")
    private String goods_name;

    /** 物品编码 */
    @Excel(name = "物品编码")
    private String goods_code;

    /** 批次流水号 */
    @Excel(name = "批次流水号")
    private String fixmedins_bchno;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 逻辑删除 */
    private Long del_flag;

    /** 创建人 */
    @Excel(name = "创建人")
    private String CREATE_BY;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date CREATE_TIME;

    /** 更新人 */
    @Excel(name = "更新人")
    private String UPDATE_BY;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date UPDATE_TIME;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setBusiness_type(String business_type)
    {
        this.business_type = business_type;
    }

    public String getBusiness_type()
    {
        return business_type;
    }
    public void setGoods_type(String goods_type)
    {
        this.goods_type = goods_type;
    }

    public String getGoods_type()
    {
        return goods_type;
    }
    public void setGoods_name(String goods_name)
    {
        this.goods_name = goods_name;
    }

    public String getGoods_name()
    {
        return goods_name;
    }
    public void setGoods_code(String goods_code)
    {
        this.goods_code = goods_code;
    }

    public String getGoods_code()
    {
        return goods_code;
    }
    public void setFixmedins_bchno(String fixmedins_bchno)
    {
        this.fixmedins_bchno = fixmedins_bchno;
    }

    public String getFixmedins_bchno()
    {
        return fixmedins_bchno;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDel_flag(Long del_flag)
    {
        this.del_flag = del_flag;
    }

    public Long getDel_flag()
    {
        return del_flag;
    }
    public void setCREATE_BY(String CREATE_BY)
    {
        this.CREATE_BY = CREATE_BY;
    }

    public String getCREATE_BY()
    {
        return CREATE_BY;
    }
    public void setCREATE_TIME(Date CREATE_TIME)
    {
        this.CREATE_TIME = CREATE_TIME;
    }

    public Date getCREATE_TIME()
    {
        return CREATE_TIME;
    }
    public void setUPDATE_BY(String UPDATE_BY)
    {
        this.UPDATE_BY = UPDATE_BY;
    }

    public String getUPDATE_BY()
    {
        return UPDATE_BY;
    }
    public void setUPDATE_TIME(Date UPDATE_TIME)
    {
        this.UPDATE_TIME = UPDATE_TIME;
    }

    public Date getUPDATE_TIME()
    {
        return UPDATE_TIME;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("business_type", getBusiness_type())
                .append("goods_type", getGoods_type())
                .append("goods_name", getGoods_name())
                .append("goods_code", getGoods_code())
                .append("fixmedins_bchno", getFixmedins_bchno())
                .append("status", getStatus())
                .append("del_flag", getDel_flag())
                .append("remark", getRemark())
                .append("CREATE_BY", getCREATE_BY())
                .append("CREATE_TIME", getCREATE_TIME())
                .append("UPDATE_BY", getUPDATE_BY())
                .append("UPDATE_TIME", getUPDATE_TIME())
                .toString();
    }
}
